package com.woniuxy.service;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entity.Owner;
import com.woniuxy.util.PageData;

import java.util.List;

public interface OwnerService {
    PageInfo<Owner> queryOwner(PageData<Owner> pageData);

    void saveOwner(Owner owner);

    boolean batchDelOwner(List<Integer> ids);

    Owner queruOwnerById(Integer id);

    void saveUpdate(Owner owner);

    boolean saveDelOwner(Integer id);

    List<Owner> queryDetailOwner(Integer id);

    Owner queryDetailById(Integer id);
}
